﻿namespace XinGuanERP.Enums.system
{
    public class MenuTypeEnum
    {
        public static readonly MenuTypeEnum DIR = new MenuTypeEnum("dir", "目录");
        public static readonly MenuTypeEnum MENU = new MenuTypeEnum("menu", "菜单");
        public static readonly MenuTypeEnum BUTTON = new MenuTypeEnum("button", "按钮");

        MenuTypeEnum(string code, string name) =>
            (Code, Name) = (code, name);
        public string Code { get; private set; }
        public string Name { get; private set; }
    }
}
